#include <mockcpp/mockcpp.hpp>
#include <testngpp/testngpp.hpp>
#include <Square.h>

USING_MOCKCPP_NS
USING_TESTNGPP_NS

FIXTURE(Square)
{
    TEST(getAera works well for a square with side 3)
    {
        Square square(3);
        //ASSERT_EQ(9, square.getArea());
    }

    TEST(getPerimeter works well for a square with side 3)
    {
        Square square(3);
        ASSERT_EQ(12, square.getPerimeter());
    }

    TEST(change a square side to 6)
    {
        Square square(3);
        square.setSide(6);
        ASSERT_EQ(6, square.getSide());
    }
};
